package cn.wonderland.system.service.impl;

import cn.wonderland.base.service.impl.BaseServiceImpl;
import cn.wonderland.system.domain.SDDetail;
import cn.wonderland.system.mapper.SDDetailMapper;
import cn.wonderland.system.service.SDDetailService;
import cn.wonderland.system.service.SDTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional()
public class SDDetailServiceImpl extends BaseServiceImpl<SDDetail> implements SDDetailService {
    @Autowired
    private SDDetailMapper mapper;
    @Override
    public List<SDDetail> findByTypeId(Long id) {
        return mapper.findByTypeId(id);
    }
}
